const router = require('koa-router')();
const MainController = require('../controllers/Main');
const UserController = require('../controllers/User');

router.get('/', MainController.page_Index);

router.post('/createUser', UserController.createUser);
router.get('/getAllUser', UserController.getAllUser);
router.post('/attendance', UserController.attendance);
router.get('/getAllAttendance', UserController.getAllAttendance);

module.exports = router;
